int numJewelsInStones(char* jewels, char* stones) {
	int n = 0;
	while (*jewels) {
		char* cur = stones;
		while (*cur) {
			f(*jewels == *cur)
				n++;
			cur++;
		}
		jewels++;
	}
	return n;
}